<!--
 * @Author: your name
 * @Date: 2020-08-11 13:47:15
 * @LastEditTime: 2020-08-11 14:23:06
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \Workflow\src\views\test\child.vue
-->
<template>
    <div class="child">
        <button  @click="clickHandler">点我隐身</button>
    </div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
    methods:{
        clickHandler(){
            this.$emit('update:isShow',false)
        }
    }
}
</script>

<style lang="css">
    .child{
        height: 20vh;
        background: blue;
    }
</style>